package com.corpcredit.webapp.action;

import java.io.Serializable;
import java.util.List;

import com.corpcredit.model.Jbqk;
import com.corpcredit.service.LookupManager;

public class JbqkSearchForm extends BasePage implements Serializable
{
    private Long hyflId;
    //企业全称
    private String qyqc;
    //营业执照注册号 
    private String yyzzzch;
    //所属区域 
    private String ssqy;
    
    private List<Jbqk> jbqkList = null;
    
    private LookupManager lookupManager;
    
    public void setLookupManager(LookupManager lookupManager) {
        this.lookupManager = lookupManager;
    }
    
    public void search()
    {
        this.jbqkList = lookupManager.findJbqks( qyqc, yyzzzch, ssqy, hyflId );
        log.debug( "jbqk search results :" + jbqkList.size() );
    }

    public List<Jbqk> getJbqkList()
    {
        return jbqkList;
    }

    public Long getHyflId()
    {
        return hyflId;
    }

    public void setHyflId( Long hyflId )
    {
        this.hyflId = hyflId;
    }

    public String getQyqc()
    {
        return qyqc;
    }

    public void setQyqc( String qyqc )
    {
        this.qyqc = qyqc;
    }

    public String getYyzzzch()
    {
        return yyzzzch;
    }

    public void setYyzzzch( String yyzzzch )
    {
        this.yyzzzch = yyzzzch;
    }

    public String getSsqy()
    {
        return ssqy;
    }

    public void setSsqy( String ssqy )
    {
        this.ssqy = ssqy;
    }

}